<php>if( $fastreply ){</php>
    <form action="{:U('bbs/Do/reply')}" method="post" style="margin:5px;">
    <input type="hidden" name="tid" value="{$postInfo.tid}">
	<input type="hidden" name="pid" value="{$postInfo.id}">
	<present name="quoteContent">
		<input type="hidden" name="quote" value="{$postInfo.id}">
	</present>
    <table width="95%">

            	<php>if($quoteContent){</php>
				
					<php> if(!$postInfo['istopic']){</php>
			    	<tr height="30">
			            <td >
		            		<b>{:L('thread_quote')} {$floor} {:L('thread_floor')}</b>
							<input type="hidden" name="title" value="{:L('thread_quote')} {$floor} {:L('thread_floor')}">
						</td>
			        </tr>
					<php>}else{</php>
			    	<tr height="30">
			            <td >
		            		<b>{:L('thread_quote')}：{$postInfo.title}</b>
						</td>
			        </tr>
					<php>}</php>				
				
				<php>}else if(!$postInfo['istopic']){</php>
		    	<tr height="30">
		            <td >				
					<b>{:L('thread_reply')} {$floor} {:L('thread_floor')}</b>
					<input type="hidden" name="title" value="{:L('thread_reply')} {$floor} {:L('thread_floor')}">
					</td>
		        </tr> 					
				<php>}else{</php>
			    	<tr height="30">
			            <td >				
						<b>{:L('thread_reply')}：{$postInfo.title}</b>
						</td>
			        </tr> 	
				<php>}</php>
	
    	<tr>
            <td>
            	<textarea  name="content"  cols="" rows="" id="reply_content" style="width:600px;height:220px" >
				<present name="quoteContent">
					 [quote]{$quoteContent|getQuoteContent}
					 <div class="quote_user">{$postInfo.uid|getUserName} {:L('thread_add_in')} {$postInfo.cTime|date="Y-m-d H:i:s",###} 
					 	<a class="rela_a_img" href="{:U('bbs/Index/gopost',array('id'=>$postInfo['tid'],'pid'=>$postInfo['id']))}"></a>
					 </div>
					 [/quote]
					 <br/>
				</present>
				</textarea>
			</td>
        </tr>
        <tr height="30">
            <td><input class="btn_sea" name="" type="submit"  value="{:L('message_reply')}"/></td>
        </tr>
    </table>
     </form>
<php>}else{</php>

<php>}</php>